<?php
/*
  Document   : admin
  Created on : 12-mei-2011, 12:05:08
  Author     : Shahram abdi
  Description:
 */

if (!isset($_SESSION))
    session_start();

// If the session vars aren't set, try to set them with a cookie
if (!isset($_SESSION['user_id'])) {
    if (isset($_COOKIE['user_id']) && isset($_COOKIE['username'])) {
        $_SESSION['user_id'] = $_COOKIE['user_id'];
        $_SESSION['username'] = $_COOKIE['username'];
        if(!empty ($_COOKIE['voornaam']))
         $_SESSION['voornaam'] = $_COOKIE['voornaam'];
        if(!empty ($_COOKIE['instellingnaam']))
         $_SESSION['instellingnaam'] = $_COOKIE['instellingnaam'];
    }
}
?>
﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <title>Welkom op Geoplaza! DE site voor Geostudenten!</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
        <script src="http://code.jquery.com/jquery-latest.js"></script>
        <script type="text/javascript" src="home.js" ></script>
        <script src="javascript/jquery.marquee.js" type="text/javascript"></script>
    </head>
    <body>
        <?php
        require_once('config/config.php');
        ?>
        <div id="student">
            <img src="images/student.png" alt="student"/>
        </div>

        <div id="masterhead">
            <img alt="cmn logo" src="images/logo.png" />
            <ul id="masternav">
                <li><a class="active" title="Home pagina" href="index.php">Geo plaza</a></li>
                <li><a title="Studenten pagina" href="student/index.php">Studenten</a></li>
                <li><a title="Werkgever pagina" href="werkgever/index.php">Werkgevers</a></li>
                <li><a title="Onderwijsinstelling pagina" href="onderwijs/index.php">Onderwijs</a></li>
            </ul>
        </div>
        <div id="wrap">
            <div id="vacature">
                <marquee behavior="scroll" direction="up" scrollamount="1" height="170" width="170">
                    <div id="vacatures"></div>
                </marquee>
            </div>
            <div id="header">

            </div>
